package com.lfs.admin.service;

import com.lfs.admin.model.entity.product.ProductInfoEntity;
import com.lfs.admin.model.vo.product.ProductInfoVO;

import java.util.List;

public interface ProductInfoService {

    ProductInfoEntity getProductByCode(Long productCode);

    ProductInfoEntity getProductById(Integer id);

    List<ProductInfoEntity> queryProductList(ProductInfoVO productInfoVo);

    List<ProductInfoEntity> getProductList();

    List<ProductInfoEntity> getProductToGroupList(String groupNum);

    List<ProductInfoEntity> getProductToChannelList(String channelNum);

    int updateProductInfo(ProductInfoVO productInfoVo);

    int updateProductStatus(ProductInfoVO productInfoVo);

    int addProductInfo(ProductInfoVO productInfoVo);

    int deleteProductInfo(Integer[] ids);
}
